<?php get_header(); ?>
	<!-- begin: main content area #main -->
		<div id="main">
			<!-- begin: #col1 - first float column -->
			<div id="col1">
				<div id="col1_content" class="clearfix"><a id="content" name="content"></a><!-- skiplink anchor: Content -->
				<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
					<div class="pagination floatbox">
						<p class="float_left"><?php previous_post_link('&laquo; %link') ?></p>
						<p class="float_right"><?php next_post_link('%link &raquo;') ?></p>
					</div>
					<div class="post" id="post-<?php the_ID(); ?>">
						<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanenter Link zu <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
					<?php if ( $yamlconfig->di_getOptionValue('di_index_infotype') === 1 ) : ?>
						<p class="postinfo"><?php the_time('j. F Y'); ?> <?php  _e('von',''); ?> <?php the_author(); ?> | <a href="#comments" title="zu den Kommentaren springen"><?php comments_number('kein Kommentar', '1 Kommentar', '% Kommentare', ''); ?></a> <?php edit_post_link('bearbeiten','| ',''); ?></p> 
					<?php endif; ?>
						<?php the_content('weiterlesen ...');?>
					<hr />
					</div>
					<div class="pagination floatbox">
						<p class="float_left"><?php previous_post_link('&laquo; %link') ?></p>
						<p class="float_right"><?php next_post_link('%link &raquo;') ?></p>
					</div>
					<?php if ( $yamlconfig->di_getOptionValue('di_single_infobox') === 1 ) : ?>
					<div class="articleinfo">
					<h3><?php _e('Info zum Beitrag',''); ?></h3>
						<p>geschrieben am <?php the_time('l,') ?> den <?php the_time('j. F Y') ?> um <?php the_time('H:i') ?> Uhr</p>
						<p>Kategorien: <?php the_category(', ') ?></p>
						<?php the_tags( '<p>' . __('Tags:', '') . ' ', ', ', '</p>'); ?>
						<p><?php comments_rss_link('Kommentare verfolgen'); ?>
						<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) : // Both Comments and Pings are open ?>
						 | <a href="<?php trackback_url(true); ?>" rel="trackback">Trackback URL</a>
						<?php endif; ?></p>
						<p><a href="#respond">einen Kommentar schreiben</a></p>
					</div>
					<?php endif; ?>
					<?php comments_template(); ?>
				<?php endwhile; else : 
					include (TEMPLATEPATH . '/nofound.php');
				endif; ?>
				</div>
			</div>
			<!-- end: #col1 -->
			<?php include (TEMPLATEPATH . '/col_2.php'); ?>
			<?php include (TEMPLATEPATH . '/col_3.php'); ?>
			<?php get_footer(); ?>
